package com.xuchen.zhenyang.entity;

import com.baomidou.mybatisplus.enums.IdType;
import java.math.BigDecimal;
import java.util.Date;
import com.baomidou.mybatisplus.annotations.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * <p>
 * 收付款表
 * </p>
 *
 * @author xuchen
 * @since 2019-02-17
 */
@Data
public class Payment implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "payment_id", type = IdType.AUTO)
    private Integer paymentId;
    /**
     * 客户
     */
    private Integer userId;
    /**
     * 1.客户付款 2.付款给客户
     */
    private Integer paymentType;
    /**
     * 金额
     */
    private BigDecimal paymentMoney;
    /**
     * 实际付款金额
     */
    private BigDecimal realPaymentMoney;
    /**
     * 付款时间
     */
    private Date payTime;
    private String remark;
    private Date createTime;
    private String createUser;
    private Date updateTime;
    private String updateUser;
}
